package yatan.cluster.job;

import java.util.ArrayList;

public interface JobDispatcher {
    public ArrayList<Job> dispathJobs(int jobCount) throws JobDispatcherException;

    public boolean hasMore() throws JobDispatcherException;

    public void handleJobResult(JobResult result) throws JobDispatcherException;

    public void handleJobError(Job job, Exception error) throws JobDispatcherException;
}
